from sympy import symbols, diff, factorial

x = symbols('x')
y = x**5

print("幂函数的高阶导数:")
for n in range(1, 7):
    derivative = diff(y, x, n)
    print(f"y的{n}阶导数: {derivative}")